package zry.Achievement.Thesis;

import lombok.Data;

import java.sql.Date;

@Data
public class Thesis {
    private String a_id;
    private String t_name;
    private String j_name;
    private String t_type;
    private Date t_time;
    private String i_type;
    private String l_type;
    private String t_supporting;

    public Thesis() {
    }

    public Thesis(String achievement_id, String thesis_name, String journals_name, String thesis_type, Date thesis_time, String index_type, String library_type, String supporting) {
        this.a_id = achievement_id;
        this.t_name = thesis_name;
        this.j_name = journals_name;
        this.t_type = thesis_type;
        this.t_time = thesis_time;
        this.i_type = index_type;
        this.l_type = library_type;
        this.t_supporting = supporting;
    }

    @Override
    public String toString() {
        return "成果id：" + a_id +
                "\n论文名称：" + t_name +
                "\n刊物名称：" + j_name +
                "\n论文状态：" + t_type +
                "\n发布时间：" + t_time +
                "\n索引类型：" + i_type +
                "\n论文归属库：" + l_type +
                "\n佐证材料：" + t_supporting;
    }
}